@php use Illuminate\Support\Facades\Vite; @endphp
    <!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        window._VBEN_ADMIN_PRO_APP_CONF_ = {
            // VITE_GLOB_API_URL:"https://mock-napi.vben.pro/api",
            VITE_GLOB_API_URL: "/admin-api",
        }
        Object.freeze(window._VBEN_ADMIN_PRO_APP_CONF_);
        Object.defineProperty(window, "_VBEN_ADMIN_PRO_APP_CONF_", {configurable: false, writable: false,});
        window.appConfig = @json($appConfig);
    </script>
    <script  src="{{asset("libs/common.min.js")}}"></script>
    @vite('src/main.ts')
    <script type="module">
        window.admin = window.initApp(window.appConfig)
    </script>
</head>
<body>
<div id="app">
    @include("loading")
</div>
<script type="module">
    window.admin.render('#app')
</script>
</body>
</html>
